import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "lib-flexible/flexible";
import { Button, ActionSheet, Picker, Popup } from "vant";
import "./common/base.scss";
import Cookies from "js-cookie";

Cookies.set("test", "ceshi");

Vue.use(Button).use(ActionSheet).use(Picker).use(Popup);

Vue.config.productionTip = false;
//全局注册chart组件
Vue.component("ktChart", () => import("./components/chart/index.vue"));
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
